/**
 * 出行人信息
 */
public class Person {
    /** 姓名 */
    private String name;
    /** 年龄 */
    private int age;
    /** 是否占床，对儿童有效 */
    private boolean bed;
    /** 总价钱 */
    private double price;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public boolean isBed() {
        return bed;
    }

    public void setBed(boolean bed) {
        this.bed = bed;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
